package com.fzhucc.modules.pms.domain.dto;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

import com.fzhucc.annotation.Query;

import static com.fzhucc.annotation.Query.Type.*;

/**
 * @author Woolsen
 * @since 2022-11-17
 */
@Data
public class ProjectQueryCriteria {

    @ApiModelProperty("项目名称(模糊)")
    @Query(type = INNER_LIKE)
    private String projectName;

    @ApiModelProperty("是否允许展示")
    @Query
    private Boolean allowShow;

    @ApiModelProperty("是否展示")
    @Query
    private Boolean isShow;

    @ApiModelProperty("用户ID")
    @Query
    private Long userId;

    @ApiModelProperty(value = "状态 -1驳回 0待审核 1审核成功")
    @Query(type = IN)
    private List<Integer> status;

    @ApiModelProperty("项目等级 1-职创项目库 2-优秀项目库 3-重点项目库(大于等于)")
    @Query
    private Integer level;

    @ApiModelProperty("是否假删除")
    @Query
    private String delFlag;

    @ApiModelProperty("省市县(模糊)")
    @Query(type = Query.Type.INNER_LIKE)
    private String orgArea;

    @ApiModelProperty("是否自动审核通过")
    @Query
    private Boolean isAutoPass;

    @ApiModelProperty("所属领域(模糊)")
    @Query(type = INNER_LIKE)
    private String raceDomain;

    @ApiModelProperty("项目名、所属领域like")
    private String text;

    @ApiModelProperty("来源模糊查询")
    @Query(type = INNER_LIKE)
    private String source;

    @ApiModelProperty("发送数据时的分组 每500个数据一组 共11组")
    @Query
    private Integer sendGroup;
}